package com.xja.cloud.serviceImpl;

import com.xja.cloud.entity.AdminInfo;
import com.xja.cloud.mapper.AdminInfoMapper;
import com.xja.cloud.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    private AdminInfoMapper adminInfoMapper;
    @Override
    @Transactional(readOnly = true)
    public List<AdminInfo> selectList() {
        return adminInfoMapper.selectList();
    }
}
